package com.zzb.weixin.model.msg.send;

import com.zzb.weixin.constant.WXJsonName;
import com.zzb.weixin.json.JsonObject;

public class PreViewSendMsg extends SendMsg {
	private String openid;

	@Override
	public JsonObject toJson() {
		JsonObject sendMsg = super.toJson();
		//构造消息发送条件
		sendMsg.put(WXJsonName.TO_USER, openid);
		return sendMsg;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}
}
